<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>Insert title here</title>
		<link rel="stylesheet" href="../css/reg.css" type="text/css"></link>
		<script type="text/javascript"
			src="../js/jquery-validation-1.10.0/lib/jquery-1.7.2.js"></script>
		<script type="text/javascript">  
	
		

		</script>
		<link rel="stylesheet" href="../css/Style.css" type="text/css"></link>
	</head>
	<body>
		<table width="980px" border="0" cellspacing="0" cellpadding="0"
			align="center">
			<tr>
				<td width="50%" height=80 rowspan=2>
					<div class=Mleft>

						<img src="../imgs/logo.gif" border=0>
					</div>
				</td>
				<td width="50%">
					<span id=AjaxShow></span>
					<br>
				</td>
			</tr>
			<tr>
				<td valign=bottom align=right>
					欢迎您：
					<strong><font color=red>${user.name }</font> </strong>
					<a href=/login.asp?Action=Logout target=_parent>退出</a>
				</td>
			</tr>
		</table>
		<table id=div border="0" cellspacing="0" cellpadding="0" align=center>
			<tr>
				<td>
					<img src=../imgs/center_top.gif>
				</td>
			</tr>
			<tr>
				<td
					style='padding: 5px; border-left: 1px #CCCCCC solid; border-right: 1px #CCCCCC solid'>
					<table border="0" cellspacing="0" cellpadding="0" align=center>
						<tr>
							<td width="155" valign=top>
								<jsp:include page="../frame/left.jsp" />
							</td>
							<td width="810" valign="top">
							<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tbody>
										<tr>
											<td width="60%" valign="top">
												
												<table width="100%" border="0" cellspacing="0"
													cellpadding="0">
													<tr>
														<td align=center width='30%' height=180px>
															<div class=index_face>
															
																<c:choose>
																<c:when test="${user.avatar==null}">
																<Img Src='../imgs/Image0.gif' width=100xp height=100px>
																</c:when>
																<c:when test="${user.avatar!=''}">
																<Img Src='../user_avatar_${user.id}/${user.avatar}' width=100xp height=100px>
																</c:when>
																</c:choose>
															</div>
															<a href="<%=path %>/user/changeUserInfo.jsp">修改资料</a>
															<a href="<%=path %>/user/changeUserPassWord.jsp">修改密码</a>
															<br>
															<a href="<%=path %>/user/changeUserAvatar.jsp">修改头像</a>
															<a href=User_Message.asp><font color="#FF0000">站内私信</font>
															</a>
															<br>
														</td>
														<td width='70%' valign=top>
															<div class=Myspace>
																<a href=/Space/?UserName=%u6C89%u9ED9de%u6CE0%u6824
																	target=_blank>访问我的主页</a>
															</div>
															<div class=UserName>
																<span class=Font3>${user.name }</span>
															</div>
														</td>
													</tr>
													<tr>
														<td colspan=2>
															<table width="100%" border="0" cellspacing="0"
																cellpadding="3">
																<tr>
																<td class=index_botton>
																		<strong>分类信息</strong>
																</td>
																</tr>
																<tr>
																	<td class=b_10>
																		&nbsp; 每个人心里都有一块石头
																		<br>
																		&nbsp; 找份好工作、卖个好价钱、交个女朋友 、租个好房子...
																		<br>
																		&nbsp; 民大二手网&nbsp;
																		
																		<br>
																		&nbsp; 能让您心中的石头落地
																	<br>
																		&nbsp; 大学生二手网 一个提供免费发布各类生 活资讯、分类信息的平台。
																		<br>
																		&nbsp;
																		<a href=User_ClassAD.asp?
																			Action=Add&ChannelID=2&ComID=0><img
																				src='../imgs/Postclass.gif' border=0> </a>
																	<br>
																		&nbsp;
																	</td>
																</tr>
															</table>
														</td>
													</tr>
												</table>
												<!--====================-->
										
											<td width="1%"></td>
											<td width="39%" valign="top">
												<!--====================-->
												<fieldset>
													<legend>
														<strong class="F16">个人资料</strong>
													</legend>
													<table width="100%" border="0" cellspacing="0"
														cellpadding="0">
														<tbody>
															<tr>
																<td style="padding: 8px; width: 60%">
																	&nbsp; 用 户 组： 注册用户
																	<br>
																	&nbsp; 登录次数：1
																	<br>
																	&nbsp; 注册时间： ${user.regeistDate }
																	<br>
																	&nbsp;
																	<a
																		href='javascript:oCopy("http://www.dxses.cn/Reg.asp?沉黙de泠栤")'>邀请注册：每成功邀请一位用户奖励
																		5 积分 &gt;&gt;</a>
																	<hr size="1" color="#5C9BE1">
																	<table width="100%" border="0" cellspacing="0"
																		cellpadding="0">
																		<tbody>
																			<tr>
																				<td colspan="2">
																					<strong class="F14">账户安全</strong>
																				</td>
																			</tr>
																			<tr>
																				<td width="17%" align="left" valign="top">
																					<br>
																					<img src="../imgs/Pass.gif" align="absmiddle"
																						border="0">
																				</td>
																				<td width="83%">
																					上次登录时间：${user.lastDate }
																					<br>
																					上次登录IP：${user.lastIp }
																					<br>
																					如果以上信息有问题，请联系管理员
																					<hr size="1" color="#DFDFDF" style="width: 90%">
																					<a href="User_EditInfo.asp?Action=Pass"><strong
																						class="f14">账户密码安全保护</strong> </a>
																					<br>
																					密码保护是为增强会员帐号安全而设计，由一组与用户密切相关的资料组成。只需认真填写对应资料，您就可以随时取回您的帐号。
																				</td>
																			</tr>
																		</tbody>
																	</table>
																</td>
															</tr>
														</tbody>
													</table>
												</fieldset>
												<!--====================-->
											</td>
										
								</table>
							</td>
							
						</tr>
					</table>	
						<tr>
							<td>
								<img src="../imgs/center_bottom.gif">
							</td>
						</tr>
					</table>
	</body>
</html>
